package cn.edu.scau.cmi.tancuier.abstractFactory.factory;

import cn.edu.scau.cmi.tancuier.abstractFactory.domainMeat.ConsumerMeatProduct;

public abstract class AbstractFactory {
	public static AbstractFactory getFactory(String brand) {
		switch(brand) {
		case "Wens":
			return new WensFactory();
		case "Tianbang":
			return new TianbangFactory();
		case "Aonong":
			return new AonongFactory();
		}
		return null;
	}
	
	public abstract ConsumerMeatProduct produceBeef();
	public abstract ConsumerMeatProduct producePork();
	public abstract ConsumerMeatProduct produceChicken();
}
